part of 'favorite_bloc.dart';

sealed class FavoriteEvent extends Equatable {
  const FavoriteEvent();

  @override
  List<Object> get props => [];
}


class UpdateFavoriteEvent extends FavoriteEvent {
  final String slug;
  final bool favorited;

  const UpdateFavoriteEvent({
    required this.slug,
    required this.favorited,
  });

  @override
  List<Object> get props => [slug, favorited];
}